<template>
  <el-container class="container">
    <el-aside width="200px" class="aside">
      <el-row class="tac">
        <el-col :span="24" class="innerBox">
          <el-menu
              default-active="1"
              class="my-menu"
              background-color="#545c64">


            <el-submenu index="1">
              <template slot="title">
                <i class="el-icon-s-custom"></i>
                <span>客户管理</span>
              </template>
              <router-link to="/crm/custom" >
                <el-menu-item index="1-1">
                  <i class="el-icon-user"></i>
                  <span slot="title">客户列表</span>
                </el-menu-item>
              </router-link>

              <router-link to="/crm/addCustom">
                <el-menu-item index="1-2">
                  <i class="el-icon-circle-plus-outline"></i>
                  <span slot="title">新增客户</span>
                </el-menu-item>
              </router-link>

              <router-link to="/crm/uploadCustom">
                <el-menu-item index="1-3">
                  <i class="el-icon-upload2"></i>
                  <span slot="title">批量上传</span>
                </el-menu-item>
              </router-link>

            </el-submenu>

          </el-menu>
        </el-col>
      </el-row>
    </el-aside>
    <el-main>
      <keep-alive include="custom">
        <router-view></router-view>
      </keep-alive>
    </el-main>
  </el-container>
</template>

<script>
export default {
  name: "index"
}
</script>

<style lang="less" scoped>

</style>